package com.wlc.pojo;

import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 部门实体类
 */
@Data
public class Dept {
    private Long id;
    private Long parentId;
    private String deptName;
    private String leader;
    private String phone;
    private String email;
    private Integer sort;
    private Integer status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    // 树形结构字段
    private List<Dept> children;
    private String parentName;
}